﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using SingleUserMall.Items;
using SingleUserMall.Points;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static SingleUserMall.Dividends.Dividend;
using static SingleUserMall.Items.Item;

namespace SingleUserMall.Mall.VO
{
    /// <summary>
    /// 体验金释放规则
    /// </summary>
    [AutoMapFrom(typeof(ReleasePointRules))]
    public class ReleasePointRulesVO : EntityDto<long>
    {
        /// <summary>
        /// 规则名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 普通用户自购佣金
        /// </summary>
        public double NormalUserOwnBuyRate { get; set; }
        /// <summary>
        /// 普通用户自购佣金显示
        /// </summary>
        public string NormalUserOwnBuyRateView { get; set; }
        /// <summary>
        /// VIP用户自购佣金
        /// </summary>
        public double VIPUserOwnBuyRate { get; set; }
        /// <summary>
        /// VIP用户自购佣金显示
        /// </summary>
        public string VIPUserOwnBuyRateView { get; set; }
        /// <summary>
        /// 合伙人自购佣金
        /// </summary>
        public double SuperVIPUserOwnBuyRate { get; set; }
        /// <summary>
        /// 合伙人自购佣金显示
        /// </summary>
        public string SuperVIPUserOwnBuyRateView { get; set; }
        /// <summary>
        /// 直推普通用户给VIP用户佣金比例
        /// </summary>
        public double DirectNormalUserToVIPRate { get; set; }
        /// <summary>
        /// 直推普通用户给VIP用户佣金比例显示
        /// </summary>
        public string DirectNormalUserToVIPRateView { get; set; }
        /// <summary>
        /// 直推普通用户给合伙人佣金比例
        /// </summary>
        public double DirectNormalUserToSuperVIPRate { get; set; }
        /// <summary>
        /// 直推普通用户给合伙人佣金比例显示
        /// </summary>
        public string DirectNormalUserToSuperVIPRateView { get; set; }
        /// <summary>
        /// VIP团队给合伙人佣金比例
        /// </summary>
        public double DirectVIPGroupUserToSuperVIPRate { get; set; }
        /// <summary>
        /// VIP团队给合伙人佣金比例显示
        /// </summary>
        public string DirectVIPGroupUserToSuperVIPRateView { get; set; }
        /// <summary>
        /// 直推合伙人给合伙人佣金比例
        /// </summary>
        public double DirectSuperVIPUserToSuperVIPRate { get; set; }
        /// <summary>
        /// 直推合伙人给合伙人佣金比例显示
        /// </summary>
        public string DirectSuperVIPUserToSuperVIPRateView { get; set; }
        /// <summary>
        /// 直推合伙人给VIP用户佣金比例
        /// </summary>
        public double DirectSuperVIPUserToVIPRate { get; set; }
        /// <summary>
        /// 直推合伙人给VIP用户佣金比例显示
        /// </summary>
        public string DirectSuperVIPUserToVIPRateView { get; set; }
        /// <summary>
        /// 直推合伙人给普通佣金比例
        /// </summary>
        public double DirectSuperVIPUserToNormalUserRate { get; set; }
        /// <summary>
        /// 直推合伙人给普通佣金比例显示
        /// </summary>
        public string DirectSuperVIPUserToNormalUserRateView { get; set; }
    }
}
